﻿using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProjectManage.Core.Entity.SYS
{
    [Table("sys_role")]
    [Comment("角色表")]
    public class SysRole : DBEntityBase<Guid, MasterDbContextLocator>
    {
        [Comment("角色编码")]
        [Required, MaxLength(50)]
        public string RoleCode { get; set; }

        [Comment("角色名称")]
        [Required, MaxLength(50)]
        public string RoleName { get; set; }
    }
}
